package com.weimob.demo.admin.persistent.entity;

import java.io.Serializable;
import java.util.Date;

public class TWmSysUser implements Serializable {
    /** 用户ID */
    private String userCode;

    /** 登录名(内部员工：CRM账号) */
    private String loginName;

    /** 登录状态 0--未登录 1--已登录 */
    private Byte loginFlg;

    /** 最后登录时间 */
    private Date lastLoginTime;

    /** 登录ip */
    private String clientIp;

    /** flag */
    private Integer flag;

    /** 用户类型 1-公司用户  2--代理商 */
    private Integer userType;

    /** 创建人 */
    private String createBy;

    /** 创建时间 */
    private Date createTime;

    /** 修改时间 */
    private Date updateTime;

    /** version */
    private Integer version;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_wm_sys_user
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_user.user_code
     *
     * @return the value of t_wm_sys_user.user_code
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public String getUserCode() {
        return userCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_user.user_code
     *
     * @param userCode the value for t_wm_sys_user.user_code
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_user.login_name
     *
     * @return the value of t_wm_sys_user.login_name
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public String getLoginName() {
        return loginName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_user.login_name
     *
     * @param loginName the value for t_wm_sys_user.login_name
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_user.login_flg
     *
     * @return the value of t_wm_sys_user.login_flg
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public Byte getLoginFlg() {
        return loginFlg;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_user.login_flg
     *
     * @param loginFlg the value for t_wm_sys_user.login_flg
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setLoginFlg(Byte loginFlg) {
        this.loginFlg = loginFlg;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_user.last_login_time
     *
     * @return the value of t_wm_sys_user.last_login_time
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_user.last_login_time
     *
     * @param lastLoginTime the value for t_wm_sys_user.last_login_time
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_user.client_ip
     *
     * @return the value of t_wm_sys_user.client_ip
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public String getClientIp() {
        return clientIp;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_user.client_ip
     *
     * @param clientIp the value for t_wm_sys_user.client_ip
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setClientIp(String clientIp) {
        this.clientIp = clientIp;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_user.flag
     *
     * @return the value of t_wm_sys_user.flag
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public Integer getFlag() {
        return flag;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_user.flag
     *
     * @param flag the value for t_wm_sys_user.flag
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_user.user_type
     *
     * @return the value of t_wm_sys_user.user_type
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public Integer getUserType() {
        return userType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_user.user_type
     *
     * @param userType the value for t_wm_sys_user.user_type
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_user.create_by
     *
     * @return the value of t_wm_sys_user.create_by
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_user.create_by
     *
     * @param createBy the value for t_wm_sys_user.create_by
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_user.create_time
     *
     * @return the value of t_wm_sys_user.create_time
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_user.create_time
     *
     * @param createTime the value for t_wm_sys_user.create_time
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_user.update_time
     *
     * @return the value of t_wm_sys_user.update_time
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_user.update_time
     *
     * @param updateTime the value for t_wm_sys_user.update_time
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_wm_sys_user.version
     *
     * @return the value of t_wm_sys_user.version
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public Integer getVersion() {
        return version;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_wm_sys_user.version
     *
     * @param version the value for t_wm_sys_user.version
     *
     * @mbggenerated Wed Jan 04 13:35:11 CST 2017
     */
    public void setVersion(Integer version) {
        this.version = version;
    }
}